<template>
    <div class="error_page">
        <img src="/500@2x.png" />
        <div>
            <h2>500</h2>
            <p>抱歉，服务器出错了</p>
            <el-button type="primary" @click="backHome">返回首页</el-button>
        </div>
    </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter();
const backHome = () => router.push("/");
</script>

<style lang="scss">
@import "./style.scss";
</style>
